home *** CD-ROM | disk | FTP | other *** search
-
- MDC - Multiple Disk Compare Service
- Version 2.00
-
- Copyright (C) 1989 by Michael Burton
- All Rights Reserved.
-
-
- MDC is a fast diskette comparison program. It allows you to compare one
- diskette against multiple copies of that diskette. MDC reads the original
- diskette, which we call the master, one time, and generates a CRC (cyclic
- redundancy check - better than a checksum) for each track of the diskette. It
- then reads the copy diskette, generates a CRC for each track and compares the
- CRCs generated against the master CRCs. If all the CRCs compare ok, then
- there is a 99.998% chance that the disks are identical. We used the CRC to
- make the comparison instead of a bit by bit compare because then MDC would
- still work on an MSDOS system with minimal resources.
-
- The command line for MDC is
-
- MDC [-mx] [-cy] [-ifilename] [-ofilename] [?]
-
- The optional -mx parameter is the drive that contains the master diskette.
- The optional -cy parameter is the drive that contains the copy. Only drives A
- and B are allowed for x and y. The default for both is A:. For example,
- compare a master in drive A with copies in drive B:
-
- MDC -MA -CB
-
- Instead of reading a master disk, you have the option of reading the CRCs from
- a disk file that you have created with MDC. For example, compare a master in
- drive A with a copy in drive A and create a master CRC file for this master:
-
- MDC -OC:\MDC\TEST.CMP
-
- Now that a CRC file has been created, you can compare copies in drive B with
- that file:
-
- MDC -IC:\MDC\TEST.CMP -CB
-
- Note: The -m switch and the -i switch are mutually exclusive. They cannot be
- on the command line together.
-
- The final command line switch is ?, which gives a short summary of how to use
- MDC. Example:
-
- A>MDC ?
-
- Command syntax is:
-
- MDC [-mx] [-cy] [-ifilename] [-ofilename]
-
- x is the master disk drive; y is the compare disk drive. The default
- for x and y is A. Only drives A and B are allowed.
-
- In place of -m you may use -i, which is a drive\path\filename of a
- master disk CRC file that was previously saved with MDC using the -o
- option.
- Examples: Compare a master on drive A with copy(s) on drive B and save
- the master CRCs in file 12601.CRC:
-
- MDC -MA -CB -O12601.CRC
-
- Read the master CRC file 12601.CRC and compare it with copy(s)
- in drive B:
-
- MDC -I12601.CRC -CB
-
- A>
-
- MDC is capable of comparing all MSDOS diskette types, including:
-
- 5 1/4" Single sided, 8 sector (160k)
- 5 1/4" Double sided, 8 sector (320k)
- 5 1/4" Single sided, 9 sector (180k)
- 5 1/4" Double sided, 9 sector (360k)
- 5 1/4" High density, 15 sector (1.2m)
- 3 1/2" Double sided, 9 sector (720k)
- 3 1/2" Double sided, 18 sector (1.44m)
-
- MDC will not even try to compare two different type diskettes, e.g, a 160k
- diskette against a 320k diskette, as they would obviously not compare
- correctly.
-
- To perform its function, MDC uses MSDOS interrupt 21h, function 1ch (Get
- Allocation Information) and interrupt 25h (Absolute Sector Read). No other
- MSDOS disk functions are used.
-
- I will answer questions or comments MDC if you write me:
-
- Michael Burton
- 15540 Boot Hill Rd.
- Hayden Lake, ID 83835
-
-